home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / spray.z / spray
Encoding:
Text File  |  2002-10-03  |  2.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. sssspppprrrraaaayyyy((((1111MMMM))))                                                            sssspppprrrraaaayyyy((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      spray - spray packets
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////eeeettttcccc////sssspppprrrraaaayyyy _h_o_s_t [ ----cccc _c_o_u_n_t ] [ ----dddd _d_e_l_a_y ] [ ----iiii ] [ ----llll _l_e_n_g_t_h ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _s_p_r_a_y sends a one-way stream of packets to _h_o_s_t using RPC, and then
  16.      reports how many were received by _h_o_s_t and what the transfer rate was.
  17.      The hostname can be either a name or an Internet address.
  18.  
  19. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  20.      ----cccc _c_o_u_n_t    Specifies how many packets to send.  The default value of
  21.                  _c_o_u_n_t is the numbers of packets required to make the total
  22.                  stream size 100000 bytes.
  23.  
  24.      ----dddd _d_e_l_a_y    Specifies how may microseconds to pause between sending each
  25.                  packet.  The default is 0.
  26.  
  27.      ----iiii          Use ICMP echo packets rather than RPC.  Since ICMP
  28.                  automatically echos, this creates a two way stream.
  29.  
  30.      ----llll _l_e_n_g_t_h   The _l_e_n_g_t_h parameter is the numbers of bytes in the ethernet
  31.                  packet that holds the RPC call message.  Since the data is
  32.                  encoded using XDR, and XDR only deals with 32 bit quantities,
  33.                  not all values of _l_e_n_g_t_h are possible, and _s_p_r_a_y rounds up to
  34.                  the nearest possible value.  When _l_e_n_g_t_h is greater than
  35.                  1514, then the RPC call can no longer be encapsulated in one
  36.                  Ethernet packet, so the _l_e_n_g_t_h field no longer has a simple
  37.                  correspondence to Ethernet packet size.  The default value of
  38.                  _l_e_n_g_t_h is 86 bytes (the size of the RPC and UDP headers)
  39.  
  40. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  41.      ping(1M), sprayd(1M), icmp(7P).
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.